package com.geek.game.manager.agent.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import ydh.cicada.api.Column;
import ydh.cicada.api.Entity;
import ydh.cicada.api.Id;

/**
 * Created by star on 2016/9/30.
 */
@Entity(name="t_manager")
public class Manager {

	@Id(autoincrement=true)
	@Column(name="user_id")
    private String id;
	
	private String userId;//备用
	
	@Column(name="user_account")
    private String userAccount;
	
    @Column(name="user_name")
    private String userName;
    
    @JsonIgnore  
    @Column(name="password")
    private String password;
    
    @Column(name="create_time")
    private Date createTime;
    
    @Column(name="update_time")
    private Date updateTime;
    
    @Column(name="parent_manager")
    private String parentManager;
    
    @Column(name="user_type")
    private Integer userType;
    
    @Column(name="agent_coin")
    private Integer agentCoin;
    
    
    @Column(name="deltag")
    private String delTag;

    @Column(name="player_id")
    private String playerId;	//管理员绑定的玩家id
    
    @Column(name="admin_desc")
    private String adminDesc;
    
    private String clubStr;
    private String clubIdStr;
    private String todaySale;
    private String totalBuy;
    
    
    
    public String getAdminDesc() {
		return adminDesc;
	}

	public void setAdminDesc(String adminDesc) {
		this.adminDesc = adminDesc;
	}

	public String getClubStr() {
		return clubStr;
	}

	public void setClubStr(String clubStr) {
		this.clubStr = clubStr;
	}

	public String getClubIdStr() {
		return clubIdStr;
	}

	public void setClubIdStr(String clubIdStr) {
		this.clubIdStr = clubIdStr;
	}

	public String getTodaySale() {
		return todaySale;
	}

	public void setTodaySale(String todaySale) {
		this.todaySale = todaySale;
	}

	public String getTotalBuy() {
		return totalBuy;
	}

	public void setTotalBuy(String totalBuy) {
		this.totalBuy = totalBuy;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getParentManager() {
		return parentManager;
	}

	public void setParentManager(String parentManager) {
		this.parentManager = parentManager;
	}

	public String getPlayerId() {
		return playerId;
	}

	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}




	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

    public String getDelTag() {
        return delTag;
    }

    public void setDelTag(String delTag) {
        this.delTag = delTag;
    }

	public Integer getAgentCoin() {
		return agentCoin;
	}

	public void setAgentCoin(Integer agentCoin) {
		this.agentCoin = agentCoin;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}
}
